package top.chmin.project.cloud.sys.sequence.info;

import java.util.List;

import top.chmin.project.cloud.common.Page;
import org.springframework.web.bind.annotation.RestController;
import jakarta.annotation.Resource;


/**
 * chmin
 * 2024-01-29 16:24:09
 * cloud-code
 */
@RestController
public class SequenceInfoController implements
/* append $controllerSelectOptionRestAppender$ */
        SequenceInfoSaveRest,
        SequenceInfoSelectRest,
        SequenceInfoUpdateRest,
        SequenceInfoDeleteRest,
        SequenceInfoPageRest {

    @Resource
    private SequenceInfoService sequenceInfoService;

    @Override
    public int save(SequenceInfoSaveRest.P p) {
        return sequenceInfoService.save(p);
    }

    @Override
    public SequenceInfoSelectRest.R select(SequenceInfoSelectRest.P p) {
        return sequenceInfoService.select(p);
    }

    @Override
    public int update(SequenceInfoUpdateRest.P p) {
        return sequenceInfoService.update(p);
    }

    @Override
    public int delete(SequenceInfoDeleteRest.P p) {
        return sequenceInfoService.delete(p);
    }

    @Override
    public Page<SequenceInfoPageRest.R> page(SequenceInfoPageRest.P p) {
        return sequenceInfoService.page(p);
    }
    /* append $controllerSelectOptionMethodAppender$ */
}
